package com.zhuiyun.project.api.article.service;

import com.zhuiyun.project.api.article.entity.Article;
import com.zhuiyun.project.api.article.model.ArticleModel;
import com.zhuiyun.project.api.filemanage.entity.FileManage;
import com.zhuiyun.project.common.errorCode.CommonException;
import com.zhuiyun.project.common.response.CommonResult;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;

public interface PublishArticleService {

    //医师发表文章
    String savePublishArticle(MultipartFile files, FileManage fileManage) throws CommonException;
    CommonResult savePublishArticle1(MultipartFile files, FileManage fileManage) throws CommonException;
    CommonResult insertPublishArticle(Article article);

}
